package org.yixiu.client;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.yixiu.service.ITestService;

@RestController
public class TestController {

    @DubboReference
    ITestService testService;

    @GetMapping("/login")
    public void testLogin(){
        testService.login("zhangsan","1234");
    }
}
